package br.com.schs.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

@Entity
@NamedQueries({
	@NamedQuery(name = "Departamento.consultarTodosDepartamentos",query = "select d from Departamento d")
})
public class Departamento implements Serializable {
	
	private static final long serialVersionUID = -4970858127270893103L;

	@Id @GeneratedValue
	private long id;
	
	private String departamento;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getDepartamento() {
		return departamento;
	}

	public void setDepartamento(String departamento) {
		this.departamento = departamento;
	}

}
